package com.joysuch.wwyt.common.constant;


public class Constant {

    /**
     * 数据权限是否包含子部门
     */
    public static final Integer DEPART_AUTH_CONTAIN_CHILD = 1;
    public static final Integer DEPART_AUTH_NOT_CONTAIN_CHILD = 0;

    public static final Long SELF_DEPART = -1L;

    public static final String CSV = ".csv";

    public static final String FROM_DATA_ID_KEY = "id";

    public static final String FROM_DATA_LABEL_KEY = "label";

    public static final String SPLIT_COMMA_FULL_WIDTH = "，";
    public static final String SPLIT_COMMA = ",";
    public static final String SPLIT_STOP = "、";
    public static final String SPLIT_HYPHEN = "-";
    public static final String SPLIT_UNDERLINE = "_";
    public static final String EMPTY_STR = "";
    public static final String NULL_STR = "null";
    public static final String SPLIT_SPACE = " ";
    public static final String SPLIT_COLON = ":";
    public static final String SPLIT_SLASH = "/";
    public static final String LEFT_BRACKETS = "【";
    public static final String RIGHT_BRACKETS = "】";
    public static final String COLON_ENGLISH = " \" ";
    public static final String EN_LEFT_BRACKETS = "(";
    public static final String EN_RIGHT_BRACKETS = ")";


    // 公用开关
    public static final String COMMON_SWITCH_OFF = "0";
    public static final String COMMON_SWITCH_ON = "1";

    // 教育培训是否可重考
    public static final String ALLOW_TRY_AGAIN = "Y";
    public static final String NOT_ALLOW_TRY_AGAIN = "N";
    public static final String ANY_TIME_ALLOW_TRY_AGAIN = "A";
    // 教育培训是否限制重考次数
    public static final String TRY_AGAIN_LIMIT_ON = "1";
    public static final String TRY_AGAIN_LIMIT_OFF = "0";

    public static final String GETUI_ON = "1";
    public static final String GETUI_OFF = "0";

    public static final int SYNC_ON = 1;
    public static final int SYNC_OFF = 0;

    //主页大屏是否推送信息: 1:已提醒  2:未提醒
    public static final Integer REMINDED = 1;
    public static final Integer REMINDED_NOT = 0;

    public static final String FLOOR_REPLACE_STR = "Floor";

    public static final String INVESTIGATION_POSITION_CHECK_PREFIX = "investigationPosition";

    // 大屏作业票图标视频组件
    public static final String VIDEO_SURVEILLANCE = "videoSurveillance";

    // 图片下载地址固定前缀
    public static final String IMG_DOWNLOAD_URL_PREFIX = "/image/view?id=";
    // 文件下载地址固定前缀
    public static final String FILE_DOWNLOAD_URL_PREFIX = "/file/download?id=";

    // sql like
    public static final String SQL_LIKE = "%";

    public static final String INVESTIGATION_SUMMARY_UPDATE_KEY = "investigation:summaryToUpdate";

    //人脸识别精准阈值 配置比例
    public static final String APP_FACE_RECOGNITION_ACCURACY = "app.faceRecognitionAccuracy";

    // http请求返回字段code
    public static final String ATTRIBUTE_CODE = "code";
    public static final String ATTRIBUTE_DATA = "data";


    /**
     * 流程数据状态
     */
    //完成
    public static final String STATUS_FINISHED = "finished";

    //终止
    public static final String STATUS_TERMINATE = "terminate";

    //删除
    public static final String STATUS_DELETE = "delete";

    //
    public static final String DEFAULT_MENU_ICON = "level";

    // 人员定位修改配置
    public static final String LOCATE_CONFIG_UPDATE = "locateConfigUpdate:locateServerUrl";


    // 迁移存量隐患排查历史数据结束标识
    public static final String MOVE_INVESTIGATE_HIS_OVER_FLAG = "moveInvestigateHisOver";

    // 迁移审计日志结束标识
    public static final String MOVE_AUDIT_LOG_TO_HIS_OVER_FLAG = "moveAuditLogToHisOver";
}
